Skip to content

Show single-concurrency preset benchmark as values - #4567

Open
peterschmidt85 wants to merge 1 commit into
masterfrom
pr_preset_single_concurrency_benchmark
Open

peterschmidt85 wants to merge 1 commit into
masterfrom
pr_preset_single_concurrency_benchmark

Conversation

@peterschmidt85

@peterschmidt85 peterschmidt85 commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Steps to reproduce

  1. In the UI (Factory or Sky), open the Presets page of a project.
  2. Open a preset benchmarked at a single concurrency, for example one created with concurrency: 48, such as glm53-gb200-nvl72-agentic-c48.

Actual behaviour

The Benchmark section draws a bar chart with one bar across the whole plot and no value on it. The numbers can only be estimated from the axis, one metric per tab.

preset-benchmark-before

Expected behaviour

The preset's numbers can be read at a glance. With this PR, a single concurrency shows every metric as a value, in the same label/value grid as the Details and Constraints sections:

Concurrency  48          tok/s        4872.19     tok/s/user   101.5        TTFT mean    691.63ms
TTFT p50     289.77ms    TTFT p99     13.32s      TPOT mean    7.51ms       TPOT p50     6.33ms
TPOT p99     19.29ms     Context length  1M
preset-benchmark-after

Presets with several concurrencies keep the tabs and charts; the page of a preset with seven concurrencies looks the same before and after.

Implementation notes

  • PresetBenchmark returns a ColumnLayout text grid when the result has one concurrency: the concurrency, then each chart's only value under that chart's title and with its formatter (tok/s, tok/s/user, TTFT p50, ..., Context length). A metric without a value is left out.
  • Nothing changes for presets with several concurrencies.
  • The screenshots come from the frontend of this branch (and of master for "before") in Factory mode, served by webpack against a mock API that returns this preset's benchmark from its preset file. The page wasn't checked against a running server or on Sky.

🤖 Generated with Claude Code

A preset benchmarked at one concurrency drew a bar chart with a single bar
across the whole plot and no value on it. Its benchmark now shows as values
in the same label/value grid as Details and Constraints. Presets with several
concurrencies keep the tabs and charts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@peterschmidt85
peterschmidt85 requested a review from Bihan December 1, 2026 13:25
@peterschmidt85
peterschmidt85 marked this pull request as ready for review December 1, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants